// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IMarket.cs" company="Open Trader">
//   Copyright (c) David Denis (david.denis@systemathics.com)
// </copyright>
// <summary>
//   |  Open Trader - The Open Source Systematic Trading Platform
//   |
//   |  This program is free software: you can redistribute it and/or modify
//   |  it under the terms of the GNU General Public License as published by
//   |  the Free Software Foundation, either version 2 of the License, or
//   |  (at your option) any later version.
//   |
//   |  This program is distributed in the hope that it will be useful,
//   |  but WITHOUT ANY WARRANTY; without even the implied warranty of
//   |  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//   |  GNU General Public License for more details.
//   |
//   |  You should have received a copy of the GNU General Public License
//   |  along with this program.  If not, see http://www.gnu.org/licenses
//   |
//   |  Up to date informations about Open Trader can be found at :
//   |    http://opentrader.org
//   |    http://opentrader.codeplex.com
//   |
//   |  For professional services, please visit us at :
//   |    http://www.systemathics.com
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Org.OpenTrader.Framework.Forge.Interfaces
{
    #region Using Directives

    using System;

    #endregion

    /// <summary>
    /// The i market.
    /// 
    /// ? Orders can be entered, modified, and deleted. Trades continuously occur as orders match at price/time priority
    /// ? Orders can be entered, modified, and deleted. No trades occur. Please note that the auction has a random ending time           
    /// ? Orders can be entered, modified, and deleted. No trades occur.
    /// </summary>
    public interface IMarket
    {
        #region Properties

        /// <summary>
        /// Gets ClosingStart.
        /// </summary>
        DateTime ClosingStart { get; }

        /// <summary>
        /// Gets ClosingStop.
        /// </summary>
        DateTime ClosingStop { get; }

        /// <summary>
        /// Gets ContinuousTradingStart.
        /// </summary>
        DateTime ContinuousTradingStart { get; }

        /// <summary>
        /// Gets ContinuousTradingStop.
        /// </summary>
        DateTime ContinuousTradingStop { get; }

        /// <summary>
        /// Gets ID.
        /// </summary>
        Guid ID { get; }

        /// <summary>
        /// The intraday auction start.
        /// </summary>
        DateTime IntradayAuctionStart { get; }

        /// <summary>
        /// Gets IntradayAuctionStop.
        /// </summary>
        DateTime IntradayAuctionStop { get; }

        /// <summary>
        /// Gets OpeningStart.
        /// </summary>
        DateTime OpeningStart { get; }

        /// <summary>
        /// Gets OpeningStop.
        /// </summary>
        DateTime OpeningStop { get; }

        /// <summary>
        /// Gets Path.
        /// </summary>
        string Path { get; }

        /// <summary>
        /// Gets PreClosingStart.
        /// </summary>
        DateTime PreClosingStart { get; }

        /// <summary>
        /// Gets PreClosingStop.
        /// </summary>
        DateTime PreClosingStop { get; }

        /// <summary>
        /// Gets PreOpeningStart.
        /// </summary>
        DateTime PreOpeningStart { get; }

        /// <summary>
        /// Gets PreOpeningStop.
        /// </summary>
        DateTime PreOpeningStop { get; }

        #endregion

        // The closing match is performed.
    }
}